package com.wwu.system.entity.server;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.LinkedList;
import java.util.List;

/**
 * 服务器信息实体
 * @author 一蓑烟雨
 * @version 1.0.0
 * @date 2022-05-17 21:51
 **/
@Data
@Accessors(chain = true)
@ApiModel(value="Server:服务器信息实体", description="服务器信息实体")
public class Server implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "操作系统相关信息")
    private OperSys operSys ;

    @ApiModelProperty(value = "CPU相关信息")
    private Cpu cpu;

    @ApiModelProperty(value = "內存相关信息")
    private Mem mem;

    @ApiModelProperty(value = "JVM虚拟机相关信息")
    private Jvm jvm ;

    @ApiModelProperty(value = "磁盘相关信息")
    private List<Disc> discs = new LinkedList<Disc>();
}
